var ibMarketCheckout = {
	init: function()
	{
		Debug.write("Initializing ibm.checkout.js");
		
		document.observe("dom:loaded", function(){
			ibMarketCheckout.checkPrice();
		});
	},
	
	checkPrice: function()
	{
		if(total_price > member_money)
		{
			$('checkoutForm').disable();
			$('submitButton').value = button;
		}
	}
}

ibMarketCheckout.init();